package ModelLayer;


/**
 * Write a description of class DvdCollection here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class DvdCopy
{
    // instance variables - replace the example below with your own
    private String serial;
    private String reqDate;
    private double buyPrice;
    private boolean rented;
    
    public DvdCopy(String serial, String reqDate, double buyPrice)
    {
        this.serial = serial;
        this.reqDate = reqDate;
        this.buyPrice = buyPrice;
        this.rented = false;
    }
    
    public DvdCopy()
    {
    }

    public String getSerial()
    {
        return serial;
    }
    
    public void setAsRented()
    {
        rented = true;
    }
    
    public void setAsNotRented()
    {
        rented = false;
    }
    
    public boolean getRented()
    {
        return rented;
    }
    
    public String getReqdate()
    {
        return reqDate;
    }
    
    public double getBuyprice()
    {
        return buyPrice;
    }
}
